package service.entity;

/**
 * @ClassName 小麦类
 * @Description TODO
 * @Author hongwuyang
 * @Date 2024/2/20 10:46
 */

public class Wheat extends Crop{

    private String high;

    private Integer cultivatedArea;

    public Wheat(String high, Integer cultivatedArea) {
        this.high = high;
        this.cultivatedArea = cultivatedArea;
    }

    public String getHigh() {
        return high;
    }

    public void setHigh(String high) {
        this.high = high;
    }

    public Integer getCultivatedArea() {
        return cultivatedArea;
    }

    public void setCultivatedArea(Integer cultivatedArea) {
        this.cultivatedArea = cultivatedArea;
    }

    @Override
    public String toString() {
        return "Wheat{" +
                "high='" + high + '\'' +
                ", cultivatedArea=" + cultivatedArea +
                '}';
    }
}
